﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using ToolwebAQ.database;
using Ultility;

namespace ToolwebAQ.adminaq.usercontrol
{
    public partial class submenu : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            aquariusDBDataContext db = new aquariusDBDataContext();
            if (Session[Source.obj_Account] != null)
            {
                Rpt_menu.DataSource = db.StoredProcedure1((string)Session[Source.obj_Account], Request.QueryString["PageID"]);
                Rpt_menu.DataBind();
            }
        }
    }
}
